package com.cyou.qb.face.service;
/**
 * 根据gamecode获取游戏相关信息的接口
 * @author wangwenlong
 */

import java.util.List;

import com.cyou.qb.face.entity.GameInfo;
import com.cyou.qb.face.entity.NameValue;
import com.cyou.qb.face.entity.VideoInfo;
import com.cyou.qb.face.exception.QbGetDataException;

public interface GetGameInfoService extends BaseFaceService{

	/**
	 * 在前台根据游戏的gamecode获取游戏信息
	 * @param gamecode
	 * @return
	 * @throws QbGetDataException
	 * @throws Throwable
	 */
	public GameInfo getFrontGameInfo(String gamecode) throws QbGetDataException;

	/**
	 * 在后台根据游戏的gamecode获取游戏信息
	 * @param gamecode
	 * @return
	 * @throws QbGetDataException
	 */
	public GameInfo getGameInfo(String gamecode) throws QbGetDataException;

	/**
	 * 获取活动所属游戏的列表
	 * @return
	 * @throws QbGetDataException
	 */
	public List<NameValue> getGameNameInfo() throws QbGetDataException;
	
	/**
	 * 获取游戏类型信息的列表
	 * @return
	 * @throws QbGetDataException
	 */
	public List<NameValue> getGameTypeInfo() throws QbGetDataException;
		
	/**
	 * 获取游戏动态
	 * @param gamecode
	 * @return
	 * @throws QbGetDataException
	 */
	public List<NameValue> getGameNews(String gamecode) throws QbGetDataException;
	
	/**
	 * 获取游戏视频
	 * @param gamecode
	 * @return
	 * @throws QbGetDataException
	 */
	public List<VideoInfo> getGameVideoInfo(String gamecode) throws QbGetDataException;
}
